package com.wanbangee.marksystem.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanbangee.marksystem.service.QueryCurrentExamService;
import com.wanbangee.marksystem.dao.MExamDao;
import com.wanbangee.marksystem.entities.MClass;
import com.wanbangee.marksystem.entities.MExam;
import com.wanbangee.marksystem.entities.MSubject;

@Service
public class QueryCurrentExamServiceImp implements QueryCurrentExamService {

	@Autowired
	private MExamDao mExamDao;
	@Override
	public List<MExam> selectCurrentAllExams(Integer accId) {
		return this.mExamDao.selectAllExams(accId);
	}
	@Override
	public List<MClass> selectAllExamClass(Integer examId) {
		return this.mExamDao.selectAllExamClass(examId);
	}
	@Override
	public List<MSubject> selectAllExamSubject(Integer examId) {
		return this.mExamDao.selectAllExamSubject(examId);
	}

}
